<text><span class="style1">eturns a container which holds exactly one item, word, or line matching each </span><span class="style2">different</span><span class="style1"> item, word, or line in the original container; that is, it purges all duplicates.</span></text>
</content>
<name></name>
<script></script>
</card>
card_16537.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<text>Reports count of how many times a given string occurs within another given string; has the advantage over Rinaldi's HowMany that it is sensitive to case and international characters.</text>
</content>
<name></name>
<script></script>
</card>
card_25922.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<text>In a container, replaces all instances of any char appearing in a list with the corresponding char of a second list. Like XLate, except you don't need to have provided a resource beforehand.</text>
</content>
<name></name>
<script></script>
</card>
card_54328.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<text>Replaces (case-sensitive), in any container, all instances of a single character with a different single chararcter; the advantage over other replace XCMDs is speed.</text>
</content>
<name></name>
<script></script>
</card>
card_15750.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<text>Within string 1, replaces all instances of string 2 with string 3; has the advantage over Rinaldi's FillReplace that it is sensitive to case.</text>
</content>
<name></name>
<script></script>
</card>
card_52701.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<text>Combines (merges) two lists, putting the items of each line of one list into or after the corresponding line of the other. Quite flexible, but has no option to avoid duplicates; you can apply StripDup afterwards to accomplish this if desired.</text>
</content>
<name></name>
<script></script>
</card>
card_18532.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<text>Converts string to lowercase or uppercase, optionally converting diacritical to standard characters: script-sensitive (that is, consults the Script Manager to find out what a diacritical is, etc.).</text>
</content>
<name></name>
<script></script>
</card>
card_47986.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<text>Gives a count of the actual number of physical lines of text in a field, as opposed to HC's idea of "lines" which is really "return-delimited strings".</text>
</content>
<name></name>
<script></script>
</card>
card_17919.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<text>Returns a string with first or all instances of target text replaced by given replace text starting at given offset; but not case sensitive, alas.</text>
</content>
<name></name>
<script></script>
</card>
card_10699.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<text>Extends the HC offset() function to start anywhere within the string and to resolve international characters if desired; not case sensitive, though.</text>
</content>
<name></name>
<script></script>
</card>
card_25215.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<text>Allows adjusting the text-formatting of a number, with different formats depending as the number is positive, negative, or zero (like in Excel).</text>
</content>
<name></name>
<script></script>
</card>
card_63609.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<text>Suite of 2 XFCNs allowing saving/restoration of text a field complete with all fonts, sizes, styles; also reads / writes between fields (styled) and RTF files.</text>
</content>
<name></name>
<script></script>
</card>
card_41148.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<text>Compares two strings of text and returns the number of first character (of the first string) from the start at which they differ and the last character (of the first string) from the end at which they differ.</text>
</content>
<name></name>
<script></script>
</card>
card_5644.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<text>Forces "idle" message to be sent with proper regularity (you can set interval from script), correcting HC's current behaviour where idle sometimes is blocked or sent sporadically.</text>
</content>
<content>
<layer>background</layer>
<id>5</id>
<text>system</text>
</content>
<name></name>
<script></script>
</card>
card_31460.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<text>Gives complete control and interface to the (old) MacInTalk driver (which should be located in the HyperCard folder, not the system folder!), including altering voice type, speak rate, and pitch; can read text or macInTalk phonemes, or convert text to phonemes.</text>
</content>
<name></name>
<script></script>
</card>
card_69723.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<text>Suite of 19 XCMD/XFCNs allowing direct access to the Sound Manager. Among other amazing and terrifying things, makes chords come out of your speaker, lets you synthesize sound wave types directly, and lets you synchronise multiple voices. (You have to know how to program these.)</text>
</content>
<name></name>
<script></script>
</card>
card_28866.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<text>Causes all keypresses to be read as control-key keypresses, until otherwise notified (thus allowing you to intercept and interpret keypresses in some special way).</text>
</content>
<content>
<layer>background</layer>
<id>5</id>
<text>system</text>
</content>
<name></name>
<script></script>
</card>
card_73282.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<text>Speaks given container, using Speech Manager. Allows setting of voice, rate, and pitch. Also includes VoicesList XFCN, which lists available voices and gives info about them.</text>
</content>
<name></name>
<script></script>
</card>
card_68573.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<text>Suite of 38 XCMD/XFCNs allowing you to interact directly with the Resource Manager and Memory Manager. (You have to know how to program with these.)</text>
</content>
<name></name>
<script></script>
</card>
card_70960.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<text>When called from HyperCard running in the background, alerts the Notification Manager, which causes a blinking HyperCard icon to appear in the menuBar and suspends operation until HyperCard is brought to the front.</text>
</content>
<name></name>
<script></script>
</card>
card_63923.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<text>Allows playing of sound resources or disk files -- also MOD files and AIFF files. Set volume, fade, pause, send sounds thru any sound channel including simultaneous sounds.</text>
</content>
<name></name>
<script></script>
</card>
card_19117.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<text>Returns sysEnvirons: cpu, mac type, system version, fpu, colorQD, and keyboard type (but Gestalt gives more complete info, and GestaltInt can tell you absolutely anything you want to know).</text>
</content>
<name></name>
<script></script>
</card>
card_56278.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<text>Allows you to pass a Gestalt selector code to query the Gestalt Manager, returning a decimal code; good for those Gestalt calls that return decimal codes (like, the system version).</text>
</content>
<name></name>
<script></script>
</card>
card_65176.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<text><span class="style1">ets you pass </span><span class="style2">any</span><span class="style1"> selector code to the Gestalt Manager and get back the result (same as making a Gestalt call).</span></text>
</content>
<name></name>
<script></script>
</card>
card_58602.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<text>Suite of 6 commands to deal directly with system 7's File Sharing functions: FileSharingIsOn tests whether it is on; SetFileSharing turns it on or off; ShareFolder starts or stops sharing a folder; GetPrivileges and SetPrivileges get and set access privileges of a folder of volume; UsersAndGroupsList returns the list of users and groups.</text>
</content>
<name></name>
<script></script>
</card>
card_57476.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<text>Suite of 28 XCMD/XFCNs allowing you to interact directly with the Apple Event Manager. (You have to know how to program with these capabilities.)</text>
</content>
<content>
<layer>background</layer>
<id>1</id>
<text>AEUtilities</text>
</content>
<content>
<layer>background</layer>
<id>3</id>
<text>ldoAppleEvent</text>
</content>
<content>
<layer>background</layer>
<id>5</id>
<text>system</text>
</content>
<content>
<layer>background</layer>
<id>7</id>
<text>powerful</text>
</content>
<name></name>
<script></script>
</card>
card_66444.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<text>Converts a string containing quotes and returns (and tabs), such as the contents of a field or a script, into a HyperTalk expression which would generate that string.</text>
</content>
<name></name>
<script></script>
</card>
card_53493.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<text>Simultaneously sorts over multiple items of a return-list, with separate alpha / numeric / time / date and ascending / descending specs for each item.</text>
</content>
<name></name>
<script></script>
</card>
card_14993.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<text>Sorts any container that uses any separator, sorting on any given item, word, or char chunk, up or down, with options for many different sort formats, plus keying to an earlier sort. Unfortunately, in successive sorts, used not to preserve order from previous sorts, but I believe this is now fixed.</text>
</content>
<name></name>
<script></script>
</card>
card_69085.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<text>Suite of 38 XCMD/XFCNs allowing you to interact directly with the Resource Manager and Memory Manager. (You have to know how to program with these.)</text>
</content>
<name></name>
<script></script>
</card>
card_33743.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<text>Copies all resources (except those explicitly listed) from its stack to a destination file; intended to copy all resources (except itself) and to be valuable by its own tiny size and simplicity (just overwrites resource with matching name or ID).</text>
</content>
<name></name>
<script></script>
</card>
card_68284.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<text>Puts bytes from memory into the clipboard as an item of a given type (the stack ldoResource gives you tools for talking to the Memory Manager).</text>
</content>
<name></name>
<script></script>
</card>
card_21903.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<text>Imports a pict file into a stack as a resource, allowing specification of the pict file and permitting the stack to be other than the current stack.</text>
</content>
<name></name>
<script></script>
</card>
card_57159.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<text>Fetches a PICT file or PICT resource from a file, or JFIF or MooV file, into the clipboard, with options to change rect, clipping, bit depth (and QuickTime compression).</text>
</content>
<name></name>
<script></script>
</card>
card_49604.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<text>Checks for availability of a resource either anywhere in the resource chain or in the most recently opened file, by type and name, type and id, or all three. If found, supplies the size, and the name of the file it comes from.</text>
</content>
<name></name>
<script></script>
</card>
card_57863.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<text>Fetches an item of a given type from the clipboard and puts it into a memory block to which you provide a handle (the stack ldoResource gives you tools for talking to the Memory Manager); see PutScrap for the opposite action.</text>
</content>
<name></name>
<script></script>
</card>
card_55628.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<text>Returns list of all or selected type(s) of resources in any file, or present anywhere in the present resource chain, with configurable selection and ordering of attributes (and lots of info returned).</text>
</content>
<name></name>
<script></script>
</card>
card_50223.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<text>Reports number and available types and sizes of any named font present in the resource chain. (Nowhere near as complete as Rinaldi's FontInfos, but the latter requires the name of a file to search.)</text>
</content>
<name></name>
<script></script>
</card>
card_45003.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<text><span class="style1">mports a PICT </span><span class="style2">or</span><span class="style1"> PTNG file as a resource into the current stack; but uses a SF dialog, unlike BungDabba's PictToResource, which allows specification within the command.</span></text>
</content>
<name></name>
<script></script>
</card>
card_24906.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<text>Copies PICT from clipboard to resource or file, with options to modify size, clipping, bit depth on the way; also can compress if QT present (see PictToClip for the reverse operation).</text>
</content>
<name></name>
<script></script>
</card>
card_6303.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<text>Returns list of resources, of given type or all, either in resource chain or in given file; can also check to see if resource with given name is available (its one advantage over FullResList).</text>
</content>
<name></name>
<script></script>
</card>
card_55900.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<text><span class="style1">uts up and manipulates (color) pictures not </span><span class="style2">in</span><span class="style1"> windows but functioning </span><span class="style2">as</span><span class="style1"> windows, with holes in them if you want, so that they can be manipulated by the user and sent messages as if they were windows (in essence, permitting windows of any shape); includes powerful editing and message facilities, and support for QuickTime.</span></text>
</content>
<name></name>
<script></script>
</card>
card_51353.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<text>Sends to printer any PICT resource from current stack, with option to include a title and/or caption, and option to present style and print dialogs first.</text>
</content>
<name></name>
<script></script>
</card>
card_57704.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<text>Suite of three commands: currPrinter gives info about currently chosen printer; deviceList reports on network devices; choosePrinter substitutes for system Chooser.</text>
</content>
<content>
<layer>background</layer>
<id>1</id>
<text>chooser</text>
</content>
<content>
<layer>background</layer>
<id>3</id>
<text>Rinaldi</text>
</content>
<content>
<layer>background</layer>
<id>5</id>
<text>print</text>
</content>
<content>
<layer>background</layer>
<id>7</id>
<text>valuable</text>
</content>
<name></name>
<script></script>
</card>
card_24442.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<text>Draws a (color) picture from a resource in any file, to any rect, over top of everything, directly on the screen; easy to use, but unfortunately what is drawn is in no way connected to the card image (so it will be misplaced if card is moved or whatever); this is taken care of by 2.2. Must be coupled with UpdateDesktop, q.v.</text>
</content>
<name></name>
<script></script>
</card>
card_67057.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<text>Puts up a color PICT in an external window, such that any text, rect, roundrect, oval, or polygon in the PICT functions as a button (ie, when clicked on, it hilites, and sends a message reporting what object was clicked).</text>
</content>
<name></name>
<script></script>
</card>
card_24713.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<text><span class="style1">uts up and manipulates (color) pictures not </span><span class="style2">in</span><span class="style1"> windows but functioning </span><span class="style2">as</span><span class="style1"> windows, with holes in them if you want, so that they can be manipulated by the user and sent messages as if they were windows (in essence, permitting windows of any shape); includes powerful editing and message facilities, and support for QuickTime.</span></text>
</content>
<name></name>
<script></script>
</card>
card_52128.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<text>Adds thumbnail of PICT, Moov, or JFIF file, or file with pict resource, to that file, so that it can be displayed as preview by FullSFPack dialog.</text>
</content>
<name></name>
<script></script>
</card>
card_50034.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<text>Puts up a color graph of given data in an external window, in any of six graph styles. You can get or set an incredible number of properties to customise the look of the graph; open and close messages are sent, and clicking on any part of the graph sends a message identifying the part. The graph can be printed, copied to the clipboard, or saved to a file.</text>
</content>
<name></name>
<script></script>
</card>
card_34741.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<text>Creates scrollBar object, automatically sized to calling field or button: includes call-back message, allowing immediate complex response (such as multiple scrolling); the scrollbar can be temporary (allowing popup scrollbar) or permanently painted onto card.</text>
</content>
<name></name>
<script></script>
</card>
card_71188.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<text>Changes all text in a field that possesses given text attributes so as to have a new given set of text attributes (e.g., all Geneva 12 becomes italicised).</text>
</content>
<name></name>
<script></script>
</card>
card_22296.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<text>Pastes card information in the clipboard onto the current background, thus allowing a card to be pasted without the background from which it came. This is good for merging stacks; it can otherwise be quite hard to convince HyperCard that two cards should have the same background. A bit buggy where styled text fields are concerned (large ones especially) but it has not lost its importance.</text>
</content>
<name></name>
<script></script>
</card>
card_54808.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<text>Enables balloon help, including flexible hot regions, and display of STR, PICT, field-content, and TEXT/styl resources. Lets you check for and set balloon help on/off. Good set of "error" messages. Avoids the "flashing balloon" bug.</text>
</content>
<name></name>
<script></script>
</card>
card_36858.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<text>Sort of like PolyButtons, but much simpler: lets the image in a button be any shape, and automatically registers a click only if it is actually on or within a region bounded by black pixels. Could also have value quite apart from buttons.</text>
</content>
<name></name>
<script></script>
</card>
card_37221.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<text>Provides full support for system 7 balloon-help without crashing system 6; also, permits balloon-help throughout the system to be turned on or off.</text>
</content>
<name></name>
<script></script>
</card>
card_42587.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<text>Insanely flexible hierarchical popup menus (except you can't set just how/where it pops): in many ways rather easier to use than HierPopUp, and includes fair automatic checkmarking, font control.</text>
</content>
<name></name>
<script></script>
</card>
card_25831.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<text><span class="style1">llows the dragging of one </span><span class="style2">or</span><span class="style1"> </span><span class="style2">more</span><span class="style1"> grey rectangles simultaneously, with limit that you set, reporting the offset at the end so you can move the corresponding objects; and, optionally, during the drag, continually monitors a condition and sends one of two messages or commands, depending as the condition is true or false.</span></text>
</content>
<name></name>
<script></script>
</card>
card_60244.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<text>Erases info in (closed) stack(s) about screen location of card window the last time the stack was used, so the stack will open in the default location next time.</text>
</content>
<name></name>
<script></script>
</card>
card_3970.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<text>Takes two arguments, rect and ticks: causes that rect to be inverted for that number of ticks, thus causing the appearence of a flash at any rect in the card; this means that anything rectangular can seem to be a button by responding to mouseup.</text>
</content>
<name></name>
<script></script>
</card>
card_8070.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<text>Approximately halves time needed to tab from field to field if there are many fields. Does this by inhibiting HC's redraw procedures: only the field we were just in is redrawn. This can cause some drawing problems but discussion and workarounds are included.</text>
</content>
<name></name>
<script></script>
</card>
card_9232.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<text>Creates a drag-rectangle of any size, so you can appear to be pre-dragging any object, just like the way windows work; but it doesn't know where the object is or move it for you. However, for this very reason it might be useful.</text>
</content>
<name></name>
<script></script>
</card>
card_9193.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<text>Makes dragging of object look like Finder's window drag (i.e. drag an outline first); very easy to use, and includes automatic re-placement of dragged object and some nice constraint options.</text>
</content>
<name></name>
<script></script>
</card>
card_48883.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<text>Exports text to textfile directly from field or other container. The textfile can be named explicitly or an SF dialog can be posted. Can overwrite from start or append to end. Can also set creator of textfile; apart from this last, nothing here you couldn't script yourself, but makes things a bit simpler. For the converse, see FileToField.</text>
</content>
<name></name>
<script></script>
</card>
card_34524.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<text>Imports text from textfile directly to field. The textfile can be named explicitly or an SF dialog can be posted. Nothing you couldn't script yourself (especially now that a variable can hold the whole file), but makes things a bit simpler. For the converse, see WriteToFile.</text>
</content>
<name></name>
<script></script>
</card>
card_11915.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<text>Suite of 2 XFCNs allowing saving / restoration of text a field complete with all fonts, sizes, styles; also reads / writes between fields (styled) and RTF files.</text>
</content>
<name></name>
<script></script>
</card>
card_54556.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<text>Permits writing and reading, to or from any position in a file's data fork, data in any form of Boolean, Integer, Long Integer, Pascal String, or Text String (preceded by length word instead of length byte). Could be used, e.g., to read data from any app's docs (if you know the format), or to work with one's own complex data structures on disk (say, to make a database file separate from the stack).</text>
</content>
<name></name>
<script></script>
</card>
card_26117.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<text>Suite of 2 XCMDS (with ClearStackGlobals) to allow you to purge all globals created since a known point (thus saving on memory); also good for obtaining a list of current globals.</text>
</content>
<name></name>
<script></script>
</card>
card_15135.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<text>Searches any container, string or whole, one or all. Differs from Rinaldi's FullFind in that: (1) allows listing of delimiters to be ignored; (2) also returns item-in-line info; (3) does not assume that e.g. î = i, whereas FullFind does.</text>
</content>
<name></name>
<script></script>
</card>
card_27251.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<text>Searches any text for string 2 chars long or more; returns first or all hits by line and item. This might seem very primitive but it is still very useful since it can search things that are not containers but evaluate to text, such as message box, menus, scripts, etc. </text>
</content>
<name></name>
<script></script>
</card>
card_41637.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<text>Finds in any container, starting at any position; finds first or all, literal or word, case-sensitive or not, and optionally just looks in given item of each line; and reports char, line, char-in-line, and item info.</text>
</content>
<name></name>
<script></script>
</card>
card_52466.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<text>Permits setting of finder flags of a file: hasCustomIcon, isStationery, hasBundle, nameLocked, isInvisible. (To query these, use GetFInfo.)</text>
</content>
<name></name>
<script></script>
</card>
card_62730.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<text>Suite of 38 XCMD/XFCNs allowing you to interact directly with the Resource Manager and Memory Manager. (You have to know how to program with these.)</text>
</content>
<name></name>
<script></script>
</card>
card_40447.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<text>Takes a DATA resource from within the current stack created with FileToRes, and generates an entire file based upon it, thus allowing any file (without a resource fork) to be stored inside a stack for later reconstruction.</text>
</content>
<name></name>
<script></script>
</card>
card_71688.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<text>Reports whether given file has been locked by user (with checkbox in Get Info window; to alter, see SetFinderLock); supposed to be system-7-savvy, but on my computer fails to resolve alias.</text>
</content>
<name></name>
<script></script>
</card>
card_15377.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<text>Copies all file and folders within a given pathname to another given pathname, creating all new folders in the second pathname that are needed; can also be used to make a renamed copy of a file. Because of the folder-creation facility and the copying of files without the folder, remains useful.</text>
</content>
<name></name>
<script></script>
</card>
card_47264.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<text>Returns full finder info about a file, including not just type code, creator code, size (with fork breakdown) and dates, but finder flags such as whether initted, visible, etc. (to set these, see SetFileFlag); system-7-savvy.</text>
</content>
<name></name>
<script></script>
</card>
card_46879.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<text>Returns list of files within given path, including (if desired) all files within folders; list may be limited by many criteria (type, size, date) and nature and order of reported information may be dictated.</text>
</content>
<name></name>
<script></script>
</card>
card_44437.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<text><span class="style1">eletes a file or folder plus contents; supposed to be system-7-savvy, so it can work with alias rather than resolving it, but on my computer it </span><span class="style2">never</span><span class="style1"> resolves the alias (a bug).</span></text>
</content>
<name></name>
<script></script>
</card>
card_42436.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<text>Moves a file from one location to another on the same volume: has a system 7.0.1+ bug (on my computer if you specify an alias it always moves the alias, not the original).</text>
</content>
<name></name>
<script></script>
</card>
card_41272.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<text>Sends “AppleEvents” to the 7.x Finder, allowing you to open, move, drag, and do lots of other things as if a human hand were controlling the finder.</text>
</content>
<name></name>
<script></script>
</card>
card_12690.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<text>Suite of 24 XCMD/XFCNs allowing you to interact directly with the File Manager and Alias Manager. (You have to know how to program with these.)</text>
</content>
<name></name>
<script></script>
</card>
card_40136.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<text>Captures an entire file into the current stack as a resource (of type DATA), permitting the file to be recreated later (with ResToFile) from the stack; the drawback is that the file must consist of data only.</text>
</content>
<name></name>
<script></script>
</card>
card_42052.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<text>Copies a file, permitting flexible setting of destination and name, including ability to replace an existing file, and system-7-savvy so it can copy (rather than resolve) an alias.</text>
</content>
<name></name>
<script></script>
</card>
card_40469.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<text>Finds pathname on given volume to application that created given file or that has given four-letter code as creator signature. (Other features seem to be broken.)</text>
</content>
<name></name>
<script></script>
</card>
card_8424.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<text>Gives rect, bit depth, and dimensions of all screens or of card screen, main screen, largest screen, deepest screen, or given rect; for maximum depth info, use GetMode.</text>
</content>
<name></name>
<script></script>
</card>
card_51561.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<text>Obtains info about current screen(s), including size, and both color capacity and current color setting; to set color and bit depth, see SetMode (see ScreenList for some other, perhaps more useful info).</text>
</content>
<name></name>
<script></script>
</card>
card_46777.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<text>Suite of three commands: currPrinter gives info about currently chosen printer; deviceList reports on network devices; choosePrinter substitutes for system Chooser.</text>
</content>
<content>
<layer>background</layer>
<id>1</id>
<text>chooser</text>
</content>
<content>
<layer>background</layer>
<id>3</id>
<text>Rinaldi</text>
</content>
<content>
<layer>background</layer>
<id>5</id>
<text>external</text>
</content>
<content>
<layer>background</layer>
<id>7</id>
<text>valuable</text>
</content>
<name></name>
<script></script>
</card>
card_5382.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<text>Puts up a window in any style, size, and position, optionally in color, containing text; the user can manipulate the window in the usual way, and can edit the text just as if it were a field (and then some); the font and style of text can be preset, or styled xfer to and from containers or resources is possible. Click message is sent, so hypertext can be implemented; a message to the window can cause text to be locked or particular text to be selected; many other messages, properties, and options exist.</text>
</content>
<name></name>
<script></script>
</card>
card_62366.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<text>Puts up dialog with scrolling text box (created from TEXT resource, up to 32K), in your choice of font and size, and with Prev and Next buttons allowing user to cycle through series of such TEXT resources.</text>
</content>
<name></name>
<script></script>
</card>
card_35265.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<text>Puts up a windoid which renders a comma- and return-delimited list into a neat 2-dimensional spreadsheet-type array; user can navigate in and select (including block multiple select) from this, including (if you want) altering contents and sizes of cells, in all sorts of interesting ways.</text>
</content>
<name></name>
<script></script>
</card>
card_61534.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<text>Puts up dialog with scrolling list, text, and up to 4 buttons, at given location, with multiple select optional; list may be based upon any delimiter. You cannot type to move around list, as you can with ListSelect, but showList is very versatile & easy to use.</text>
</content>
<name></name>
<script></script>
</card>
card_58305.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<text>Suite of 7 dialog types created partly from templates you build in ResEdit and partly on the fly through parameters: can include buttons, icons (can be clickable to make icon-bar dialog), picts, static text, limitless number of editable text boxes, limitless checkboxes or limitless radio buttons (in one group), and a popup-menu; also a type with a list box. You can choose ProcID and whether to outline default button, and set loc. Particularly cool is type associating buttons with one of a sequence of picts; good for help screens where user can cycle thru or pick next screen.</text>
</content>
<name></name>
<script></script>
</card>
card_28014.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<text>Puts up a small window, optionally containing an icon, whose text can be altered from script, thus allowing a continuing message (for example, to show progress).</text>
</content>
<name></name>
<script></script>
</card>
card_28413.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<text>Puts up a dialog window with message, optional icon, and "thermometer" to which you can send percentage figures to animate it. More flexible and standard than Progress; can be placed anywhere, and is actually a window.</text>
</content>
<name></name>
<script></script>
</card>
card_23396.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<text>Suite of commands allowing almost as much control over a dialog you have created with ResEdit as if you were talking right to the toolbox; in most ways far more flexible than ModalDialog, but the price is that it is even harder to use.</text>
</content>
<name></name>
<script></script>
</card>
card_19327.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<text><span class="style1">ets HyperCard display and interact with </span><span class="style2">any</span><span class="style1"> dialog box made by ResEdit, with control over text in text items, defaulted radio and check buttons, etc., at the time of display. More work for the programmer but quite a bit of power in return. See also ModDialog for even more power.</span></text>
</content>
<name></name>
<script></script>
</card>
card_55158.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<text>Like a combination of basic features of Rinaldi's Listoid and Tabloid: brings up a window with columnized data from which the user can select items or lines.</text>
</content>
<name></name>
<script></script>
</card>
card_48342.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<text>Displays scrolling list for user to choose from, with settable font and fontsize, scroll by typing, various optional multiple selection modes, settable size and placement of dialog, preselected line(s), prompt text, button texts, and either automatic creation or use of DLOG resource, and options for pre-display sorting! (see also ShowList) — Used to have a bug in the size/placement routine but I think the latest version fixes it.</text>
</content>
<name></name>
<script></script>
</card>
card_17943.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<text>Puts up a windoid in any style, any position and size, containing a list, in any font, starting at any point, from which the user can choose, optionally multiple. The list is even optionally rearrangeable by user. The window has many properties that can be got or set in real time, and sends various messages HC can react to.</text>
</content>
<name></name>
<script></script>
</card>
card_35565.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<text>Brings up dialog box with list from which user can select, optionally multiple, with your choice of list font, up to four buttons and ability to choose the default, ability to come up with given item preselected, and ability to set rect; user can type to move around in list. Valuable complement to Rinaldi's listSelect.</text>
</content>
<name></name>
<script></script>
</card>
card_60715.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<text>Puts up a simple but easy and flexible movable modal dialog containing up to 3 editable text fields with prompt and default text that you can preset, up to 4 radio buttons, and up to 4 standard buttons for dismissing the dialog; you also get to set the window title. (Unfortunately, requires use of DLOG and DITL resources that it checks for, it seems, only by number; so if you have such resources in your stack with the same number, and *those* numbers can't be changed, you can't use this.)</text>
</content>
<name></name>
<script></script>
</card>
card_65904.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<text>Puts up the Standard File (get) dialog; you can include two lists of file types and include a check box that will allow the user to toggle from one to the other.</text>
</content>
<name></name>
<script></script>
</card>
card_36201.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<text><span class="style1">rings up system-7-savvy SF dialog: your choice of Getfile, Putfile, choose Folder, choose Volume, and select Multiple (where you gather as many as you like into a separate scrolling list); can also use QuickTime to preview moov and Pict files. Can limit what is displayed by type(s), and can preset default directory. Getfile and Multiple can resolve aliases or not, as you choose (no option in the dialog itself, tho). — NB, sys-7 </span><span class="style2">dependent</span><span class="style1">.</span></text>
</content>
<name></name>
<script></script>
</card>
card_29273.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<text>Puts up a window with a short prompt string and Cancel and OK buttons and a scrolling contents space; the user can edit the contents, and when the window is closed it reports its contents to the stack. Can't set the fonts used, alas.</text>
</content>
<name></name>
<script></script>
</card>
card_14368.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<text>Puts up pict dialog which, when clicked on, changes to another pict dialog which, when clicked on, vanishes. Good for "about" or "credits" info.</text>
</content>
<name></name>
<script></script>
</card>
card_65006.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<text>Puts up a windoid with a calendar for the month in it, user can change month and year, and if a day is double-clicked it is reported to your stack.</text>
</content>
<name></name>
<script></script>
</card>
card_4301.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<text>Draws a (color) picture from a resource in any file, to any rect, over top of everything, directly on the screen; easy to use, but unfortunately what is drawn is in no way connected to the card image (so it will be misplaced if card is moved or whatever); HC 2.2 now takes care of this.</text>
</content>
<name></name>
<script></script>
</card>
card_14101.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<text>Permits colored text in fields, including scrolling fields; different text in the same field may be colored differently. Scroll bars are also colored.</text>
</content>
<name></name>
<script></script>
</card>
card_6505.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<text>Allows foregnd/bkgnd of redraws on this window to be colors (instead of black on white); only the 8 original colors can be used, and the redraw is very primitive, but since you get to control every pixel, extremely nice effects are possible (like color text).</text>
</content>
<name></name>
<script></script>
</card>
card_29158.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<text>Puts up a windoid which, when "update" is sent to it, displays the name and numbers of the object currently under the cursor (also, if desired, the name and numbers of the card and background); as far as I know this has not been updated to handle 2.2 partNumber, and it isn't really big enough to read long names.</text>
</content>
<name></name>
<script></script>
</card>
card_2388.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<script>-- on mouseup or return, go to the designated cardon mouseupselect the clickLineput the selectedText into findThisgoFor findThisend mouseupon ReturnInFieldgoFor the selectedTextend ReturnInFieldon goFor whatset cursor to busylock screengo bg "catalogue"find what in bg fld "name"if the result is not empty thenbeepgo firstend ifclick at -1,-1end goFor</script>
</part>
<part>
<id>10</id>
<type>field</type>
<visible> <false /> </visible>
<dontWrap> <false /> </dontWrap>
<dontSearch> <false /> </dontSearch>
<sharedText> <false /> </sharedText>
<fixedLineHeight> <false /> </fixedLineHeight>
<autoTab> <false /> </autoTab>
<lockText> <true /> </lockText>
<rect>
<left>174</left>
<top>40</top>
<right>290</right>
<bottom>236</bottom>
</rect>
<style>scrolling</style>
<autoSelect> <false /> </autoSelect>
<showLines> <false /> </showLines>
<wideMargins> <false /> </wideMargins>
<multipleLines> <false /> </multipleLines>
<reservedFamily> 0 </reservedFamily>
<titleWidth>0</titleWidth>
<icon>0</icon>
<textAlign>left</textAlign>
<font>Geneva</font>
<textSize>9</textSize>
<textStyle>plain</textStyle>
<textHeight>12</textHeight>
<name>type list</name>
<script>on mouseupselect the clicklineif the selectedText is not empty thenput the selectedText into theTextlock screengo nextfind theText in bg fld "Type"if the result is not empty thenbeepgo cd 1else hide meelse hide meend mouseup</script>
</part>
<part>
<id>11</id>
<type>field</type>
<visible> <false /> </visible>
<dontWrap> <false /> </dontWrap>
<dontSearch> <false /> </dontSearch>
<sharedText> <false /> </sharedText>
<fixedLineHeight> <false /> </fixedLineHeight>
<autoTab> <false /> </autoTab>
<lockText> <true /> </lockText>
<rect>
<left>174</left>
<top>40</top>
<right>287</right>
<bottom>238</bottom>
</rect>
<style>scrolling</style>
<autoSelect> <false /> </autoSelect>
<showLines> <false /> </showLines>
<wideMargins> <false /> </wideMargins>
<multipleLines> <false /> </multipleLines>
<reservedFamily> 0 </reservedFamily>
<titleWidth>0</titleWidth>
<icon>0</icon>
<textAlign>left</textAlign>
<font>Geneva</font>
<textSize>9</textSize>
<textStyle>plain</textStyle>
<textHeight>12</textHeight>
<name>where list</name>
<script>on mouseupselect the clicklineif the selectedText is not empty thenput the selectedText into theTextlock screengo nextfind theText in bg fld "Where"if the result is not empty thenbeepgo cd 1else hide meelse hide meend mouseup</script>
</part>
<part>
<id>12</id>
<type>field</type>
<visible> <true /> </visible>
<dontWrap> <false /> </dontWrap>
<dontSearch> <false /> </dontSearch>
<sharedText> <false /> </sharedText>
<fixedLineHeight> <false /> </fixedLineHeight>
<autoTab> <false /> </autoTab>
<lockText> <true /> </lockText>
<rect>
<left>22</left>
<top>21</top>
<right>164</right>
<bottom>41</bottom>
</rect>
<style>transparent</style>
<autoSelect> <false /> </autoSelect>
<showLines> <false /> </showLines>
<wideMargins> <false /> </wideMargins>
<multipleLines> <false /> </multipleLines>
<reservedFamily> 0 </reservedFamily>
<titleWidth>0</titleWidth>
<icon>0</icon>
<textAlign>left</textAlign>
<font>Geneva</font>
<textSize>12</textSize>
<textStyle>plain</textStyle>
<textHeight>16</textHeight>
<name></name>
<script>on mouseupanswer "Sort by:" with "Name" or "Type" or "Stack"send mouseup to bg btn itend mouseup</script>
</part>
<part>
<id>13</id>
<type>field</type>
<visible> <false /> </visible>
<dontWrap> <false /> </dontWrap>
<dontSearch> <false /> </dontSearch>
<sharedText> <false /> </sharedText>
<fixedLineHeight> <false /> </fixedLineHeight>
<autoTab> <false /> </autoTab>
<lockText> <false /> </lockText>
<rect>
<left>31</left>
<top>57</top>
<right>121</right>
<bottom>99</bottom>
</rect>
<style>shadow</style>
<autoSelect> <false /> </autoSelect>
<showLines> <false /> </showLines>
<wideMargins> <false /> </wideMargins>
<multipleLines> <false /> </multipleLines>
<reservedFamily> 0 </reservedFamily>
<titleWidth>0</titleWidth>
<icon>0</icon>
<textAlign>left</textAlign>
<font>Geneva</font>
<textSize>9</textSize>
<textStyle>plain</textStyle>
<textHeight>12</textHeight>
<name>com instr</name>
<script></script>
</part>
<part>
<id>14</id>
<type>field</type>
<visible> <false /> </visible>
<dontWrap> <false /> </dontWrap>
<dontSearch> <false /> </dontSearch>
<sharedText> <false /> </sharedText>
<fixedLineHeight> <false /> </fixedLineHeight>
<autoTab> <false /> </autoTab>
<lockText> <true /> </lockText>
<rect>
<left>11</left>
<top>11</top>
<right>405</right>
<bottom>230</bottom>
</rect>
<style>scrolling</style>
<autoSelect> <false /> </autoSelect>
<showLines> <false /> </showLines>
<wideMargins> <true /> </wideMargins>
<multipleLines> <false /> </multipleLines>
<reservedFamily> 0 </reservedFamily>
<titleWidth>0</titleWidth>
<icon>0</icon>
<textAlign>left</textAlign>
<font>Geneva</font>
<textSize>10</textSize>
<textStyle>plain</textStyle>
<textHeight>12</textHeight>
<name>info</name>
<script>on mouseuplock screenhide meshow cd fld "list"unlock screen with visual barn door close slowend mouseup</script>
</part>
<part>
<id>16</id>
<type>button</type>
<visible> <true /> </visible>
<reserved5> 0 </reserved5>
<reserved4> 0 </reserved4>
<reserved3> 0 </reserved3>
<reserved2> 0 </reserved2>
<reserved1> 0 </reserved1>
<enabled> <true /> </enabled>
<rect>
<left>21</left>
<top>21</top>
<right>163</right>
<bottom>41</bottom>
</rect>
<style>transparent</style>
<showName> <false /> </showName>
<highlight> <false /> </highlight>
<autoHighlight> <true /> </autoHighlight>
<sharedHighlight> <true /> </sharedHighlight>
<family>0</family>
<titleWidth>0</titleWidth>
<icon>0</icon>
<textAlign>center</textAlign>
<font>Chicago</font>
<textSize>12</textSize>
<textStyle>plain</textStyle>
<name></name>
<script>on mouseUpsend mouseup to cd fld id 12-- this btn is just to provide hilitingend mouseUp</script>
</part>
<part>
<id>17</id>
<type>button</type>
<visible> <true /> </visible>
<reserved5> 0 </reserved5>
<reserved4> 0 </reserved4>
<reserved3> 0 </reserved3>
<reserved2> 0 </reserved2>
<reserved1> 0 </reserved1>
<enabled> <true /> </enabled>
<rect>
<left>22</left>
<top>108</top>
<right>159</right>
<bottom>128</bottom>
</rect>
<style>transparent</style>
<showName> <false /> </showName>
<highlight> <false /> </highlight>
<autoHighlight> <true /> </autoHighlight>
<sharedHighlight> <true /> </sharedHighlight>
<family>0</family>
<titleWidth>0</titleWidth>
<icon>0</icon>
<textAlign>center</textAlign>
<font>Chicago</font>
<textSize>12</textSize>
<textStyle>plain</textStyle>
<name></name>
<script>on mouseUpsend mouseup to bg fld id 6 -- this btn is just to provide hiliteend mouseUp</script>
<script>on doMenu whatif what is not "New Card" then pass doMenu -- just one of me, pleaseend doMenu-- some of what follows is because we have popup fields...-- but most is because we're going to simulate the list manager...-- by intercepting keystrokes and selecting in "list" accordinglyon opencard-- dontInterfere flags whether we should *not* intercept keystrokes-- lastTime keeps track of ticks between keystrokes-- lastWhat accumulates keystrokes-- initialise them allglobal dontInterfere,lastTime,lastWhat,oldTAput false into dontInterfereput the ticks into lastTimeput empty into lastWhat-- ready fieldsset the scroll of cd fld "info" to 0set the scroll of cd fld "list" to 0-- ready textArrowsput the textArrows into oldTAset the textArrows to falseend opencardon closecardglobal oldTAset the textArrows to oldTAsend mouseUp to meend closecardon mouseUp-- hide popup fields (called by closeCard as well)set the visible of cd fld "type list" to falseset the visible of cd fld "where list" to falseif the visible of cd fld "info" then send mouseup to cd fld "info"end mouseUpon idleglobal dontInterfere-- the optionKey brings up a little hint boxif the optionKey is downthen show cd fld "com instr"else hide cd fld "com instr"-- if I am trying to modify my "info" field, I cannot do it...-- if we are intercepting keystrokes; so in that case, don'tif the visible of cd fld "info" and not the locktext of cd fld "info"¬thenset the textArrows to trueput true into dontInterfereelseset the textArrows to falseput false into dontInterfereend ifend idleon keydown what-- okay, this is the keystroke interception routine-- the object is to simulate the list manager: collect keystrokes...-- and then select in cd fld "list" accordingly;-- we also use up and down arrows within "list"global dontInterfere,lastTime,lastWhatif dontInterfere then pass keydownif the visible of window "message" thensend "keydown what" to HyperCardelse-- yes, we are to intercept keystrokes, so here goesif what >= "a" and what <= "z" then-- if it has been a long time since last keystroke, start over;-- if a short time, accumulate keystrokes togetherget the ticksif (it - lastTime) < 150 thenput lastWhat & what into lastWhatelseput what into lastWhatend ifput it into lastTime-- now make an attempt to select a corresponding line in "list"find lastWhat in cd fld "list"if the result is empty then-- our text is there, so just select itset the scroll of cd fld "list" to (word 2 of the foundLine - 1) * ¬the textheight of cd fld "list"select the foundLineelse-- alas, our text is not there...-- so we use a totally over-simplistic way out...-- we seek a word starting with the next highest letter-- so "ci" is not promoted to "co" but to "d"-- it's crappy, but we have time considerations to worry about;-- we can't afford to cycle up nicely thru successive triesget numToChar(charToNum(first char of LastWhat)+1)put it into LastWhatput 0 into lastTimesend "keydown it" to meend ifelse-- up and down arrow, and everything elseif what = numtoChar(30) or what = numtoChar(31) thenarr whatelse send "keydown what" to HyperCardend ifend ifend keydownon arr what-- up and down arrowkeys handler, moves the selection up or down-- 18 lines are visible in the field-- textHeight is 13 (fixed)if what = numToChar(31) then -- downarrowif word 4 to 6 of the selectedline is "card field 2" thenif word 2 of the selectedLine < (number of lines of cd fld 2) thenput the selectedLine into theLineput the scroll of cd fld "list" into theScrollput (theScroll / 13) into topLineif (((word 2 of theLine) - topLine) = 18)then set the scroll of cd fld "list" to theScroll + 13add 1 to word 2 of theLineselect (theLine)end ifend ifend ifif what = numToChar(30) then -- uparrowif word 4 to 6 of the selectedline is "card field 2" thenif word 2 of the selectedLine > 1 thenput the selectedLine into theLine-- (parallel to the above, but not needed as HC behaves ok for this)-- put the scroll of cd fld "list" into theScroll-- put (theScroll / 13) into topLine-- if ((word 2 of theLine) = topLine)-- then set the scroll of cd fld "list" to theScroll - 13subtract 1 from word 2 of theLineselect (theLine)end ifend ifend ifend arr</script>